<?php
session_start();

include_once("../../Misc.php");
include_once("../../classCol/UID.php");
include_once("../../classCol/classOracleDb.php");
include_once("../../helpers/CHtml.php");
include_once("../../models/GFetchers.php");

$GHtml      = new CGHtml;
$CFetchers  = new CGFetchers;

$srcDbSupplier = "SUPPLIER";

$Db = new oracleDb;
$Db->init($_SESSION["ORCL"],
          $_SESSION["OPASS"],
          $_SESSION["SID"],
          _NO_COMMENT);

if($Db->connect()){

  $CFetchers->fetchSupplier($Db,
                            $srcDbSupplier,
                            $lstSupplier);

  $GHtml->initDropDownContent($lstSupplier,
                              "",
                              $retContent);

  echo  $retContent;

  $Db->dc();
}else{

  echo _CONN_ERROR;
}

?>